import request from '@/utils/request'



export function inBankList(data) { //入库管理-列表
  return request({
    url: '/hose-management/api/stock-in/page',
    method: 'post',
    data
  })
}
export function outBankList(data) { //出库管理-列表
  return request({
    url: '/hose-management/api/stock-out/page',
    method: 'post',
    data
  })
}




export function inBankAdd(data) { //入库管理-新增
  return request({
    url: '/hose-management/api/stock-in/add',
    method: 'post',
    data
  })
}
export function inBankEdit(data) { //入库管理-编辑
  return request({
    url: '/hose-management/api/stock-in/edit',
    method: 'post',
    data
  })
}
export function inBankDelete(data) { //入库管理-删除
  return request({
    url: '/hose-management/api/stock-in/del',
    method: 'post',
    data
  })
}
export function inBankDetail(data) { //入库管理-详情
  return request({
    url: '/hose-management/api/stock-in/id',
    method: 'post',
    data
  })
}
export function inBankStock(data) { //入库管理-库存地点
  return request({
    url: '/sys-center/api/system/dept/hose-stock',
    method: 'post',
    data
  })
}


export function inBankSelect(data) { //查询可出库备件
  return request({
    url: '/hose-management/api/stock-in/select',
    method: 'post',
    data
  })
}

export function outBankAdd(data) { //出库管理-新增
  return request({
    url: '/hose-management/api/stock-out/add',
    method: 'post',
    data
  })
}
//原 put
export function outBankEdit(data) { //出库管理-编辑
  return request({
    url: '/hose-management/api/stock-out/edit',
    method: 'post',
    data
  })
}
//原 del
export function outBankDelete(data) { //出库管理-删除
  return request({
    url: '/hose-management/api/stock-out/del',
    method: 'post',
    data
  })
}
export function outBankDetail(data) { //出库管理-详情
  return request({
    url: '/hose-management/api/stock-out/id',
    method: 'post',
    data
  })
}



